CreateDate(year, month, day)


Returns a valid date/time object.

See also CreateDateTime and CreateODBCDate.

year

Number representing the year in the range 100-9999.

month

Number representing the month of the year, ranging from 1 (January) to 12 (December).

day

Number representing the day of the month, ranging from 1 to 31.